package gameOfLife;

import java.awt.Color;

import interfaces.ColorDisplay;

public class ColorDisplayEx implements ColorDisplay {
	Color c;

	/**
	 * The representation is a color
	 */
	@Override
	public boolean isColor() {
		return true;
	}

	/**
	 * Returns the color to be displayed
	 */
	@Override
	public Color getColor() {
		return c;
	}
	
	/**
	 * Constructor, which accept a color to be displayed
	 * @param c Color to be displayed
	 */
	public ColorDisplayEx(Color c){
		this.c = c;
	}
}
